package com.guoxin.chapter2.t7;

public class Run {
	public static void main(String[] args) {
		Task task = new Task();
		ThreadA a = new ThreadA(task);
		a.setName("A");
		a.start();
		ThreadB b = new ThreadB(task);
		b.setName("B");
		b.start();
	}
}
